<template>
  <div>
    <div class="topbar bg-black d-flex ai-center">
      <img src="../assets/images/logo.png" height="30" class="pl-3">
      <div class="px-2 flex-grow-1">
        <div class="text-white fs-sm">王者荣耀</div>
        <div class="text-grey-1 fs-sm mt-1">团队成就更多</div>
      </div>
      <button type="button" class="btn bg-primary mr-3">立即下载</button>
    </div>
    <div class="bg-primary fs-sm">
      <div class="nav nav-inverse jc-around" style="height:.36rem">
        <div class="nav-item active">
          <router-link class="nav-link mt-1 pt-2" tag="div" to="/">首页</router-link>
        </div>
        <div class="nav-item">
          <router-link class="nav-link mt-1 pt-2" tag="div" to="/">攻略中心</router-link>
        </div>
        <div class="nav-item">
          <router-link class="nav-link mt-1 pt-2" tag="div" to="/">赛事中心</router-link>
        </div>
      </div>
    </div>
    <router-view></router-view>

  </div>
</template>
<script>
export default {

};
</script>
<style lang="scss">
.topbar {
  position: sticky;
  top: 0;
  height: 0.45rem;
  z-index: 999;
}
</style>
